Opening a stack or file with HyperTalk carries the risk of invoking an annoying "Where is" dialog. This XFCN allows you to test if a file exists before opening it.
This XFCN may be freely used in your own stacks provided you credit me, Guy Kuo in your about… documentation.
Guy Kuo
UNSOM
GEnie: G.KUO
August 22, 1988
-- part contents for background part 27
----- text -----
XFCN
-- part contents for background part 7
----- text -----
Syntax:
FileExists(fileName)
returns: TRUE if file exists
FALSE if it doesn't
fileName is an expression
which is a pathname of a file.
Example:
If FileExists("myDrive:folder:subfolder:fileName) then